package com.onedec.finance.mapper;

import com.onedec.finance.entity.OnedecMaterialList;
import com.onedec.finance.entity.OnedecMaterialListExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OnedecMaterialListMapper {
    long countByExample(OnedecMaterialListExample example);

    int deleteByExample(OnedecMaterialListExample example);

    int deleteByPrimaryKey(Integer materialListId);

    int insert(OnedecMaterialList record);

    int insertSelective(OnedecMaterialList record);

    List<OnedecMaterialList> selectByExample(OnedecMaterialListExample example);

    OnedecMaterialList selectByPrimaryKey(Integer materialListId);

    int updateByExampleSelective(@Param("record") OnedecMaterialList record, @Param("example") OnedecMaterialListExample example);

    int updateByExample(@Param("record") OnedecMaterialList record, @Param("example") OnedecMaterialListExample example);

    int updateByPrimaryKeySelective(OnedecMaterialList record);

    int updateByPrimaryKey(OnedecMaterialList record);
}